package com.bRoom.service;

import com.bRoom.common.ServerResponse;
import com.bRoom.pojo.Car;
import com.bRoom.pojo.User;
import com.github.pagehelper.PageInfo;

public interface ICarService {

    ServerResponse<Car> addCar (Car car, Integer userId);

    ServerResponse<Car> updateCar(Car car,Integer userId);

    ServerResponse<PageInfo> carList(User user, int psgrNum, int pageSize);
}
